/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.kleintjes.encryption.conf;

import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.kleintjes.encryption.Encryption;
import za.ac.cput.kleintjes.encryption.Impl.EncryptionImpl;
/**
 *
 * @author Administrator
 */

@Configurable
public class EncryptionConfig 
{    
    @Bean(name = "message")
    public Encryption atm() 
    {
        return new EncryptionImpl();
    }
}
